package com.meihua.workflow.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class TaskTemplate {
    private String taskId;
    private String taskName;
    private String taskAssignee;
    private String taskProcessInstanceId;
    private String taskProcessInstanceName;
    private String taskParentTaskId;
    private String taskParentTaskName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date taskStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date taskEndTime;
}
